#ifndef __FR_DEVICE_ENCODE_H__
#define __FR_DEVICE_ENCODE_H__

#include <stdint.h>



typedef struct
{
	uint8_t keyvalue;
	uint8_t time;			//1 ms  as unit
}encode_type_t;


bool encode_key_release(void);

void encode_toggle_detected(uint8_t curr_encode);
void encode_event_handle(uint8_t key_value);


#endif //__FR_DEVICE_ENCODE_H__
